//引入路由
const Router = require("koa-router");
const router = new Router();
const login = require("./login");
const register = require("./register");
const verify_token = require("./verify_token");

router.use("/login", login.routes(), login.allowedMethods());
router.use("/register", register.routes(), register.allowedMethods());
router.use(
  "/verify_token",
  verify_token.routes(),
  verify_token.allowedMethods()
);

module.exports = router;
